<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>비밀번호 확인</title>
	<link rel="stylesheet" href="./common/css/css.css" type="text/css" />
	<script type="text/javascript">
		function locationURL() {
		
		if ( window.name == 'modify' ) {
			window.opener.parent.location.href='MmodifyForm.action?no=<s:property value="no" />&currentPage=<s:property value="currentPage" />';
		}else if ( window.name == 'delete' ) {
			alert('삭제되었습니다.');
			window.opener.parent.location.href='MdeleteAction.action?no=<s:property value="no" />&currentPage=<s:property value="currentPage" />';
		}else if(window.name == 'cdelete'){
			alert('코멘트가 삭제 되었습니다.');
			window.opener.parent.location.href="MdeleteAction2.action?no=<s:property value="no" />&currentPage=<s:property value="currentPage" />";
			//http://localhost:8888/ibatis_board_reply/viewAction.action?currentPage=1&no=81
		}
			
		window.close();
		}
	</script>
</head>
  
<body>
  	<script>locationURL();</script>
</body>
</html>